<html><body><div class="bottom"><icon src="AllIcons.Nodes.Class"/>&nbsp;<code><a href="psi_element://#typename#list">list</a></code></div><div class="definition"><pre><span style="color:#000080;font-weight:bold;">def </span><span style="color:#000000;">count</span><span style="">(</span><span style="color:#94558d;">self</span><span style="">,</span> <span style="color:#000000;">__value</span><span style="">: </span><span style="color:#000000;">_T</span><span style="">)</span> -&gt; <span style="color:#000000;"><span style="color:#000080;"><a href="psi_element://#typename#int">int</a></span></span></pre></div><div class="content">L.count(value) -&gt; integer -- return number of occurrences of value</div><table class="sections"><tr><td class="section" valign="top">Assigned to:</td><td valign="top"><code>c1</code></td></tr></table></body></html>